package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Created by zhangyang on 2018/1/8.
 * 圣代_社区动态_实体:微信圈/本地爱购/特别关注/达人试用
 */
@Entity(value="SundayCommunityDynamic", noClassnameStored=true)
public class SundayCommunityDynamic extends BaseMongoEntity{

    private Integer type;//类别:1-微信圈,2-达人试用,3-本地爱购,4-特殊关注,5-个人中心,6-购买动态
    private Long memberId;//用户id

    //达人试用字段
    private String tryoutContent;//试用内容
    private String tryoutImage;//试用图片,多个图片以,号分隔
    //本地爱购字段
    private Long areaId;//地区id
    //评论数据字段
    private Long commentMainId;//评论实体id

    public SundayCommunityDynamic() {
    }

    public SundayCommunityDynamic(Integer type, Long memberId, String tryoutContent, String tryoutImage, Long areaId, Long commentMainId) {
        this.type = type;
        this.memberId = memberId;
        this.tryoutContent = tryoutContent;
        this.tryoutImage = tryoutImage;
        this.areaId = areaId;
        this.commentMainId = commentMainId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getTryoutContent() {
        return tryoutContent;
    }

    public void setTryoutContent(String tryoutContent) {
        this.tryoutContent = tryoutContent;
    }

    public String getTryoutImage() {
        return tryoutImage;
    }

    public void setTryoutImage(String tryoutImage) {
        this.tryoutImage = tryoutImage;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Long getCommentMainId() {
        return commentMainId;
    }

    public void setCommentMainId(Long commentMainId) {
        this.commentMainId = commentMainId;
    }
}
